
//let baseUrl='http://192.168.1.175:8089'
//let baseUrl='http://118.178.118.76:8777'
let baseUrl=''
let apiBase=baseUrl+'/JXApp'

//let apiBase=baseUrl+'/lsapp'
//let apiBase=baseUrl+'/app'
//let apiBase=baseUrl+'/lsapp'
//let apiBase=baseUrl+'/wzapp'
//let apiBase=baseUrl+'/jhapp'
//let apiBase=baseUrl+'/ceshi'
//let apiBase=baseUrl+'/hzapp'
//let apiBase=baseUrl+'/appsrv'
// http://localhost:8089/appsrv/carInfoAction.action?acceptCarApplyInfo=&id=1417&applyId=11841
const api={
    //钉钉
    h5Dd:apiBase+'/sysLogin.action?dingTalk=&',
    //更新
    appUpdata:apiBase+'/sysLogin.action?checkAppVersion=',
    //搜索
    serach:apiBase+'/carInfoAction.action?queryCarApplyInfoByCon=',
    //根据用户名查询部门
    dpFindByUserName:apiBase+'/sysLogin.action?checkUsername=',
    //登录
    login:apiBase+'/sysLogin.action',
    //修改密码
    resetPwd:apiBase+'/sysLogin.action?resetUserPwd',
    //所有
    listAll:apiBase+'/carInfoAction.action?queryAllCarApplyInfo=',
    //申请用车获取基本信息
    aplllyBase:apiBase+'/carInfoAction.action?checkHaveApplyCarInfoRole=',
    //申请用车数据提交
    aplllyPost:apiBase+'/carInfoAction.action?addCarApplyInfo=',
    //用车待受理列表
    handleListNo:apiBase+'/carInfoAction.action?waitAcceptCarApplyInfo=',
    handleListSuccess:apiBase+'/carInfoAction.action?isAcceptCarApplyInfo=',//用车受理通过列表
    handleListFail:apiBase+'/carInfoAction.action?noAcceptCarApplyInfo=',//用车受理失败列表
    handleDetails:apiBase+'/carInfoAction.action?queryCarApplyDetailInfo=',//用车详情
    handlPass:apiBase+'/carInfoAction.action?acceptCarApplyInfo=',//用车受理通过
    handlVoted:apiBase+'/carInfoAction.action?feedbackAcceptCarApplyInfo=',//用车受理驳回
    dispatchList:apiBase+'/carInfoAction.action?waitDispatchCarApplyInfo=',//需要调度列表
    dispatchFleet:apiBase+'/carInfoAction.action?queryChildDeptByCurrentDeptID=',//调度车队列表
    dispatchPost:apiBase+'/carInfoAction.action?dispatchCarApplyInfo=',//调度提交
    dispatchAlreadyList:apiBase+'/carInfoAction.action?isDispatchCarApplyInfo=',//已经调度列表
    driveList:apiBase+'/carInfoAction.action?waitPassCarApplyInfo=',//派车列表
    driveAlreadyList:apiBase+'/carInfoAction.action?isPassCarApplyInfo=',//派车完成列表
    driveFleetList:apiBase+'/carInfoAction.action?queryConvoyCarsByConvoyId=',//派车车队选择
    driverLsit:apiBase+'/carInfoAction.action?queryConvoyDriversByConvoyId=',//派车车队驾驶员选择
    driverPsot:apiBase+'/carInfoAction.action?passCarApplyInfo=',//派车
    rejoinrLsit:apiBase+'/carInfoAction.action?noRejoinCarApplyInfo=',//归队列表
    rejoinrAlreadyLsit:apiBase+'/carInfoAction.action?isRejoinCarApplyInfo=',//已归队列表
    rejoinPsot:apiBase+'/carInfoAction.action?rejoinCarApplyInfo=',//归队
    TaskList:apiBase+'/carInfoAction.action?driverIsWorkApplyInfo=',//任务列表未完成
    TaskAlreadyList:apiBase+'/carInfoAction.action?driverNoWorkApplyInfo=',//任务列表已完成
    addDriverJieSuan:apiBase+'/carInfoAction.action?addDriverJieSuanApplyInfo=',//费用结算
    addDriverJieSuanD:apiBase+'/carInfoAction.action?queryCarJieSuanInfo=',//费用结算详情
    orderAllList:apiBase+"/carInfoAction.action?queryMyAllCarApplyInfo=",//所有订单
    orderHandlList:apiBase+"/carInfoAction.action?queryMyAcceptCarApplyInfo=",//受理订单
    orderDispatchlList:apiBase+"/carInfoAction.action?queryMyDispatchCarApplyInfo=",//调度订单
    orderExecutelList:apiBase+"/carInfoAction.action?queryMyPassCarApplyInfo=",//执行订单
    orderAlreadyList:apiBase+"/carInfoAction.action?queryMyRejoinCarApplyInfo=",//完成订单
    orderFaillList:apiBase+"/carInfoAction.action?queryMyFeedbackCarApplyInfo=",//失败订单
    //所有车
    allCarList:apiBase+"/carInfoAction.action?queryGPSAllCarsByUserId=",
    //在线车辆
    onLineCarList:apiBase+'/carInfoAction.action?queryGPSOnlineCarsByUserId=',
    //离线有车
    offLineCarList:apiBase+"/carInfoAction.action?queryGPSOfflineCarsByUserId=",
    //未评价
    evaluateFailList:apiBase+"/carInfoAction.action?noEvaluateCarApplyInfo=",
    //已评价
    evaluateAlreadyList:apiBase+'/carInfoAction.action?isEvaluateCarApplyInfo=',
    //修改评价
    evaluatePost:apiBase+'/carInfoAction.action?addEvaluateCarApplyInfo=',
    evaluateEdit:apiBase+'/carInfoAction.action?updateEvaluateCarApplyInfo',
    phoneLogin:apiBase+"/sysLogin.action?loginByPhone="
}
export {api}